coffeeStream = require '../utils/coffeeStream.coffee'
concat       = require 'gulp-concat'
gulp         = require 'gulp'
paths        = require('../config.coffee').paths
sourcemaps   = require 'gulp-sourcemaps'

gulp.task 'test', ->
    gulp.src paths.test
        .pipe sourcemaps.init()
        .pipe coffeeStream()
        .pipe concat('unit-tests.js')
        .pipe sourcemaps.write('.')
        .pipe gulp.dest(paths.dest)
